package designmode.command;

import designmode.command.elc.Light;

/**
 * Created by Administrator on 2017/11/1 0001.
 */
public class LightOnCommand implements Command
{
    Light light;

    public LightOnCommand(Light light)
    {
        this.light = light;
    }

    @Override
    public void execute()
    {
        light.on();
    }
}
